﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Workflow.Runtime.Tracking;
using System.Workflow.Runtime;

namespace OpenComposite.Repository.Tracking
{
	public class TrackingQueryOptions
	{
		public TrackingQueryOptions()
		{
			Clear();
		}

		public void Clear()
		{
			StatusMinDateTime = DateTime.MinValue;
			StatusMaxDateTime = DateTime.MaxValue;
			TrackingDataItems = new List<TrackingDataItemValue>();
			WorkflowStatus = null;
			WorkflowType = null;
		}
		public DateTime StatusMaxDateTime { get; set; }
		public DateTime StatusMinDateTime { get; set; }
		public IList<TrackingDataItemValue> TrackingDataItems { get; private set; }
		public WorkflowStatus? WorkflowStatus { get; set; }
		public string WorkflowName { get; set; }
		public Type WorkflowType { get; set; }
	}
}
